package com.xposed.aliproxy.utils;

import android.content.Context;
import android.view.View;
import android.view.View.OnClickListener;

import com.xposed.aliproxy.view.AlertDialog;

public class AlertDialogUtil {

    static class C05251 implements OnClickListener {
        public void onClick(View view) {
        }
        C05251() {
        }
    }

    /* compiled from: AlertDialogUtil */
    /* renamed from: i.b$2 */
    static class C05262 implements OnClickListener {
        public void onClick(View view) {
        }
        C05262() {
        }
    }

    public static void showAlertDialog(Context context, String str, String str2, String str3, String str4, OnClickListener onClickListener, OnClickListener onClickListener2) {
        AlertDialog a = new AlertDialog(context).initDialog();
        a.setTitle(str);
        a.setCancleable(false);
        a.setContent(str2);
        if (str3 != null) {
            if (onClickListener == null) {
                onClickListener = new C05251();
            }
            a.setBtnPostive(str3, onClickListener);
        }
        if (str4 != null) {
            if (onClickListener2 == null) {
                onClickListener2 = new C05262();
            }
            a.setBtnNagtivie(str4, onClickListener2);
        }
        a.showDialog();
    }
}
